package com.tedu.bill.demo1;

/**
 * Author：毕龙
 * Date: 2024/5/17 16:39
 */
public enum ResponseState {

    /*public static  final  ResponseState  RESPONSE_OK= new ResponseState(1,"响应成功");
    public static  final  ResponseState  RESPONSE_FAIL= new ResponseState(2,"响应失败");*/

    RESPONSE_OK(1,"响应成功"),
    RESPONSE_FAIL(2,"响应失败");

    private Integer code;
    private String message;

    private ResponseState(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
